<?php

class User {
  var $username = null;
  var $password = null;

  function __construct( $username, $password )
  {
    /* FIXME check input */
    $this->username = $username;
    $this->password = $password;
  }


  function exists() {
	  $sql = "SELECT user,password FROM users WHERE user='" . addslashes($username);

  }
}
?>
